package com.fary.smartInitializing;

import org.springframework.stereotype.Component;

@Component
public class MyMagicAroundTest {

    @MagicAround(value = "function1", releationClazz = String.class)
    public String function1(String key) {
        System.out.println("......pring key:{" + key + "}......");
        return "success";
    }
}
